Page offline support in Xen side
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 6 Mar 2009 19:18:39 +0000 (19:18 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 6 Mar 2009 19:18:39 +0000 (19:18 +0000)
commite4865c23155b05278f31be537764e760cd2d9b7e
treee020f0021a3939aef936a38ee4322f58df27efbd
parent3c6846fa3462faadbe7b34255cb18009a751cd48
Page offline support in Xen side

This patch add support to offline a page. The basical idea is, when a
page is assigned, it will be marked offline pending and be moved out of
buddy when freed, when a page is free, it will be moved out of buddy directly.

One notice after this change is, now the page->count_info is not
always 0, especially for shadow page, since the PGC_offlining bit may be set.

Signed-off-by: Wang, Shane <shane.wang@intel.com>
Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
xen/common/page_alloc.c
xen/common/sysctl.c
xen/include/asm-x86/mm.h
xen/include/public/sysctl.h
xen/include/public/xen.h
xen/include/xen/mm.h